testsuite: Setup tests env by platform
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 3 Aug 2020 08:14:36 +0000 (16:14 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 5 Aug 2020 08:23:14 +0000 (16:23 +0800)
commitcf5a6a003a65dbccebe7a6f7e331008836729300
tree46e642467a44c60c97f11a74fbb662252febe6fe
parentd2291abe2aa55f00b80caee8491055738c95d8e8
testsuite: Setup tests env by platform

Check whether we really have x11 and wayland enabled before we try to setup the
tests to use these respective GDK backends, and only attempt to setup tests
running with the Broadway backend if it has been enabled.

Also, add a setup for running tests with the GDK-Win32 backend on Windows, for
builds that target Windows.
testsuite/meson.build